package Joda_Time_Test;

import java.util.Date;

import org.junit.Test;

import com.mall.util.DatetimeUtil;

public class mytest {
	
	@Test
	public void test(){
		System.out.println(new Date());
		System.out.println(DatetimeUtil.dateToStr(new Date()));
		System.out.println(DatetimeUtil.dateToStr(new Date(),"yyyy-MM-dd"));
		System.out.println(DatetimeUtil.strToDate("2018-1-12 12:30:00"));
	}
}
